package kosta.model.reply.dis;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

@Service
public class DisReplyServiceImpl implements DisReplyService {
	@Resource(name = "disReplyDaoImpl")
	private DisReplyDao disReplyDao;

	public List<DisReplyVO> getDisReplyList(String disNo) throws Exception {
		return disReplyDao.getDisReplyList(disNo);
	}

	public void updateDisReply(DisReplyVO drvo) throws Exception {
		disReplyDao.updateDisReply(drvo);
	}

	public void deleteDisReply(int disReNo,String id) throws Exception {
		disReplyDao.deleteDisReply(disReNo);
	}

	public void insertDisReply(DisReplyVO drvo) throws Exception {
		disReplyDao.insertDisReply(drvo);
	}
}
